home *** CD-ROM | disk | FTP | other *** search
/ Power Game Pak 2 / Power Game Pak volume 2.iso / mw2demo / setup.bat < prev    next >
DOS Batch File  |  1995-09-15  |  4KB  |  170 lines

  1. @echo off
  2. :mainmenu
  3. cls
  4. rem  **** INPUT SELECTION
  5.  
  6. echo.
  7. echo ----------- MECHWARRIOR 2 DEMO SETUP MAIN MENU -----------
  8. echo.
  9. echo NOTE: If this is the first time you have run the demo, please
  10. echo       make sure to run options 1 and 2 on the menu below before
  11. echo       attempting to start the demo.
  12. echo.
  13. echo What would you like to do?:
  14. echo.
  15. echo         1 = Change Input Device (Joystick/Mouse/Keyboard)
  16. echo         2 = Select Sound Card
  17. echo         3 = View MechWarrior 2 Demo Technical Information
  18. echo         4 = Print MechWarrior 2 Demo Technical Information
  19. echo         5 = Start Game or Exit
  20. echo.
  21. echo NOTE: A printer must be connected if you select option 4.
  22. echo.
  23. echo Press a number (1 through 5) to select the option you want:
  24. echo.
  25. choice /c:12345
  26. echo.
  27. if errorlevel 5 goto end
  28. if errorlevel 4 goto printit
  29. if errorlevel 3 goto readit
  30. if errorlevel 2 goto sound
  31. if errorlevel 1 goto controls
  32.  
  33. :printit
  34. type mw2info.txt >prn
  35. goto mainmenu
  36.  
  37. :readit
  38. edit mw2info.txt
  39. goto mainmenu
  40.  
  41. :controls
  42. cls
  43. echo.
  44. echo ----------- MECHWARRIOR 2 DEMO INPUT DEVICE MENU -----------
  45. echo.
  46. echo Please choose an input device:
  47. echo.
  48. echo         1 = CH Flightstick
  49. echo         2 = Thrustmaster Flight Control System
  50. echo         3 = Microsoft Sidewinder
  51. echo         4 = Standard joystick
  52. echo         5 = Microsoft compatible mouse
  53. echo         6 = Keyboard
  54. echo         7 = No Change
  55. echo.
  56. echo Press a number (1 through 7) to select the option you want:
  57. echo (Please note that for this demo, you cannot use a joystick
  58. echo for modem play.  Only mouse and keyboard are supported.
  59. echo Joystick play will be supported in the full modem version.)
  60. echo.
  61. choice /c:1234567
  62. echo.
  63. if errorlevel 7 goto mainmenu
  64. if errorlevel 6 goto keyboard
  65. if errorlevel 5 goto mouse
  66. if errorlevel 4 goto standard
  67. if errorlevel 3 goto micro
  68. if errorlevel 2 goto thrust
  69. if errorlevel 1 goto ch
  70. goto mainmenu
  71.  
  72. :keyboard
  73. del \mw2demo\input.map
  74. echo Copying keyboard map
  75. copy keyboard.map input.map
  76. goto mainmenu
  77.  
  78. :mouse
  79. del \mw2demo\input.map
  80. echo Copying mouse map
  81. copy mouse.map input.map
  82. goto mainmenu
  83.  
  84. :standard
  85. del \mw2demo\input.map
  86. echo Copying standard joystick map
  87. copy joystick.map input.map
  88. goto mainmenu
  89.  
  90. :micro
  91. del \mw2demo\input.map
  92. echo Copying Microsoft joystick map
  93. copy msjstick.map input.map
  94. goto mainmenu
  95.  
  96. :thrust
  97. del \mw2demo\input.map
  98. echo Copying Thrustmaster Flight Control System map
  99. copy tmaster.map input.map
  100. goto mainmenu
  101.  
  102. :ch
  103. del \mw2demo\input.map
  104. echo Copying CH Flightstick map
  105. copy fltstck.map input.map
  106. goto mainmenu
  107.  
  108. :sound
  109. cls
  110. echo.
  111. echo.
  112. echo The SETSOUND utility will now run.  Through this utility, you will be
  113. echo able to select your music and digital audio sound cards.
  114. echo.
  115. echo After SETSOUND has successfully run, type "mw2demo"
  116. echo to run the MechWarrior 2 demo.
  117. echo.
  118. pause
  119. CD \MW2DEMO\SND
  120. setsound
  121. cd ..
  122. goto mainmenu
  123.  
  124. :end
  125. cls
  126. echo.
  127. echo ----------- MECHWARRIOR 2 DEMO GAME MENU -----------
  128. echo.
  129. echo What would you like to do?:
  130. echo.
  131. echo         1 = Run the MechWarrior 2 DEMO (Standard VGA)
  132. echo         2 = Run the MechWarrior 2 DEMO (SVGA Mode)
  133. echo         3 = Return To Previous Menu
  134. echo         4 = Exit To DOS
  135. echo.
  136. echo Press a number (1 through 4) to select the option you want:
  137. echo.
  138. choice /c:1234
  139. echo.
  140. if errorlevel 4 goto realend
  141. if errorlevel 3 goto mainmenu
  142. if errorlevel 2 goto playsvga
  143. if errorlevel 1 goto playdemo
  144.  
  145. :playsvga
  146. cls
  147. mw2demo -svga
  148. goto realend
  149.  
  150. :playdemo
  151. cls
  152. mw2demo
  153. goto realend
  154.  
  155. :realend
  156. echo.
  157. echo Thank you for trying Activision's MechWarrior 2 demo.
  158. echo.
  159. echo In the future, use any of the following commands from 
  160. echo the MechWarrior 2 Demo directory:
  161. echo.
  162. echo     SETUP           Change input and sound devices.
  163. echo     MW2DEMO         To run the demo in standard VGA mode.
  164. echo     MW2DEMO -SVGA   To run the demo in SVGA mode.
  165. echo.
  166. echo We hope you have enjoyed the MechWarrior 2 demo, and
  167. echo remember...................Death is your birthright!
  168. echo.
  169. @echo on
  170.